﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="wfrmPreLegajoJudicialActualizar.aspx.cs" Inherits="PresentationLayer.WebForm2" %>

<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxUploadControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx1" %>
<%@ Register Assembly="DevExpress.ExpressApp.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.ExpressApp.Web.Templates" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style3
        {
            width: 109px;
        }
        .style4
        {
            width: 34px;
        }
        .style5
        {
            width: 161px;
        }
    </style>
    <script src="http://localhost:5059/WebForms/jquery.min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(function () {
            //            console.log("hola");
            //            $('.input-file').change(function () {
            //                $('.lblArchivo').text($('.input-file').val());
            //            });


            //            var thumb = $('img#thumb');

            //            new AjaxUpload('imageUpload', {
            //                action: $('form#newHotnessForm').attr('action'),
            //                name: 'image',
            //                onSubmit: function (file, extension) {
            //                    $('div.preview').addClass('loading');
            //                },
            //                onComplete: function (file, response) {
            //                    thumb.load(function () {
            //                        $('div.preview').removeClass('loading');
            //                        thumb.unbind();
            //                    });
            //                    thumb.attr('src', response);
            //                }
            //            });



        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <dx:ASPxRoundPanel ID="PanelPrelegajo" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
        CssPostfix="BlackGlass" GroupBoxCaptionOffsetY="-22px" HeaderText="Pre Legajo Judicial "
        SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css" Width="100%">
        <ContentPaddings PaddingBottom="5px" PaddingLeft="2px" PaddingTop="5px" />
        <HeaderStyle Height="23px">
            <Paddings PaddingBottom="0px" PaddingLeft="3px" PaddingTop="0px" />
        </HeaderStyle>
        <PanelCollection>
            <dx:PanelContent runat="server" SupportsDisabledAttribute="True">
                <table style="width: 100%;">
                    <tr>
                        <td colspan="3">
                            <div style="width: 149px">
                                <table style="width: 90%;">
                                    <tr>
                                        <td class="style4">
                                            <dx:ASPxButton ID="btnCancelar" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                                CssPostfix="BlackGlass" OnClick="btnCancelar_Click" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                                Text="Retornar" Height="16px" Width="82px" CausesValidation="False">
                                            </dx:ASPxButton>
                                        </td>
                                        <td class="style3">
                                            <dx:ASPxButton ID="btnGrabar" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                                CssPostfix="BlackGlass" OnClick="btnGrabar_Click" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                                Text="Grabar" Width="71px" Visible="false">
                                            </dx:ASPxButton>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            N° de Prelegajo :
                        </td>
                        <td>
                            <asp:TextBox ID="txt_NuPrelegajo" runat="server" Width="165px" MaxLength="30"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="txt_NuPrelegajo" ErrorMessage="Campo Obligatorio" 
                                ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                        <td>
&nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style5">
                            N° de Informe :
                        </td>
                        <td>
                            <asp:TextBox ID="txt_NroInforme" runat="server" Width="165px" MaxLength="30"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                ControlToValidate="txt_NroInforme" ErrorMessage="Campo Obligatorio" 
                                ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            Origen de Informe:</td>
                        <td>
                            <asp:TextBox ID="txtOrigenInforme" runat="server" Width="294px" MaxLength="50"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                ControlToValidate="txtOrigenInforme" ErrorMessage="Campo Obligatorio" 
                                ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style5">
                            Fecha del Informe :</td>
                        <td>
                            <dx:ASPxDateEdit ID="dtpFechaInforme" runat="server" 
                                CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
                                SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css" 
                                Date="08/05/2014 13:29:26">
                                <CalendarProperties>
                                    <HeaderStyle Spacing="1px" />
                                    <FooterStyle Spacing="4px" />
                                </CalendarProperties>
                                <ButtonStyle Width="11px">
                                </ButtonStyle>
                                <ValidationSettings>
                                    <ErrorFrameStyle ImageSpacing="4px">
                                        <ErrorTextPaddings PaddingLeft="4px" />
                                    </ErrorFrameStyle>
                                </ValidationSettings>
                            </dx:ASPxDateEdit>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style5">
                            Fecha de Recepción a PPU :
                        </td>
                        <td>
                            <dx:ASPxDateEdit ID="dtp_FechaRecepcion" runat="server" 
                                CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
                                SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                                <CalendarProperties>
                                    <HeaderStyle Spacing="1px" />
                                    <FooterStyle Spacing="4px" />
                                </CalendarProperties>
                                <ButtonStyle Width="11px">
                                </ButtonStyle>
                                <ValidationSettings>
                                    <ErrorFrameStyle ImageSpacing="4px">
                                        <ErrorTextPaddings PaddingLeft="4px" />
                                    </ErrorFrameStyle>
                                </ValidationSettings>
                            </dx:ASPxDateEdit>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            N° de Resolución :</td>
                        <td>
                            <asp:TextBox ID="txtResolucion" runat="server" Width="165px" MaxLength="30"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                ControlToValidate="txtResolucion" ErrorMessage="Campo Obligatorio" 
                                ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style5">
                            Fecha de Resolución :
                        </td>
                        <td>
                            <dx:ASPxDateEdit ID="dtp_FechaResolucion" runat="server" 
                                CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
                                SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                                <CalendarProperties>
                                    <HeaderStyle Spacing="1px" />
                                    <FooterStyle Spacing="4px" />
                                </CalendarProperties>
                                <ButtonStyle Width="11px">
                                </ButtonStyle>
                                <ValidationSettings>
                                    <ErrorFrameStyle ImageSpacing="4px">
                                        <ErrorTextPaddings PaddingLeft="4px" />
                                    </ErrorFrameStyle>
                                </ValidationSettings>
                            </dx:ASPxDateEdit>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            N° de memo
                        </td>
                        <td>
                            <asp:TextBox ID="txt_NroMemo" runat="server" Width="165px" MaxLength="20"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                ControlToValidate="txt_NroMemo" ErrorMessage="Campo Obligatorio" 
                                ForeColor="Red"></asp:RequiredFieldValidator>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            Codigo del Proceso :
                        </td>
                        <td>
                            <dx:ASPxComboBox ID="Cbo_TipoProceso" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                CssPostfix="BlackGlass" Height="16px" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                Width="300px">
                                <LoadingPanelImage Url="~/App_Themes/BlackGlass/Editors/Loading.gif">
                                </LoadingPanelImage>
                                <ButtonStyle Width="11px">
                                </ButtonStyle>
                                <ValidationSettings ErrorText="Error has occurred">
                                    <ErrorFrameStyle ImageSpacing="4px">
                                        <ErrorTextPaddings PaddingLeft="4px" />
                                    </ErrorFrameStyle>
                                </ValidationSettings>
                            </dx:ASPxComboBox>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            Unidad Organica :
                        </td>
                        <td>
                            <dx:ASPxComboBox ID="Cbo_UnidadOrganica" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                CssPostfix="BlackGlass" Height="16px" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                Width="300px">
                                <LoadingPanelImage Url="~/App_Themes/BlackGlass/Editors/Loading.gif">
                                </LoadingPanelImage>
                                <ButtonStyle Width="11px">
                                </ButtonStyle>
                                <ValidationSettings ErrorText="Error has occurred">
                                    <ErrorFrameStyle ImageSpacing="4px">
                                        <ErrorTextPaddings PaddingLeft="4px" />
                                    </ErrorFrameStyle>
                                </ValidationSettings>
                            </dx:ASPxComboBox>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            Entidad :
                        </td>
                        <td>
                            <dx:ASPxComboBox ID="cboEntidad" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                CssPostfix="BlackGlass" Height="16px" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                Width="300px">
                                <LoadingPanelImage Url="~/App_Themes/BlackGlass/Editors/Loading.gif">
                                </LoadingPanelImage>
                                <ButtonStyle Width="11px">
                                </ButtonStyle>
                                <ValidationSettings ErrorText="Error has occurred">
                                    <ErrorFrameStyle ImageSpacing="4px">
                                        <ErrorTextPaddings PaddingLeft="4px" />
                                    </ErrorFrameStyle>
                                </ValidationSettings>
                            </dx:ASPxComboBox>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            Persona que Envia
                        </td>
                        <td>
                            <dx:ASPxTextBox ID="txtPersonaEnvia" runat="server" Height="16px" Width="293px" 
                                MaxLength="150">
                            </dx:ASPxTextBox>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            Detalle
                        </td>
                        <td>
                            <dx:ASPxMemo ID="txt_Sumilla" runat="server" Height="100%" Width="100%">
                            </dx:ASPxMemo>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            &nbsp;<asp:HiddenField ID="lbl_Estado" runat="server" />
                        </td>
                        <td>
                            <dx:ASPxButton ID="btnDetalle" runat="server" Visible="false" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                CssPostfix="BlackGlass" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                Text="Agregar detalles" Width="152px" OnClick="btnDetalle_Click">
                            </dx:ASPxButton>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td class="style5">
                            &nbsp;
                        </td>
                        <td>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
                <dx:ASPxPopupControl ID="Popup_confirmar_grabar" runat="server" Width="400px" ClientInstanceName="pcMensaje"
                    AllowResize="false" AllowDragging="false" PopupVerticalAlign="WindowCenter" PopupHorizontalAlign="WindowCenter"
                    Modal="true" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" ShowCloseButton="false"
                    CloseAction="None" CssPostfix="BlackGlass" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                    <LoadingPanelImage Url="~/App_Themes/BlackGlass/Web/Loading.gif">
                    </LoadingPanelImage>
                    <ContentStyle HorizontalAlign="Left" VerticalAlign="Top">
                    </ContentStyle>
                    <HeaderStyle>
                        <Paddings PaddingBottom="6px" PaddingLeft="15px" PaddingRight="6px" PaddingTop="3px" />
                    </HeaderStyle>
                    <ContentCollection>
                        <dx:PopupControlContentControl>
                            <table width="100%">
                                <tr>
                                    <td class="fila" align="center" colspan="2">
                                        <dx:ASPxLabel ID="ASPxLabel1" runat="server" CssClass="centrar" Font-Size="12pt"
                                            ForeColor="Blue" Text="¿Esta seguro de continuar?">
                                        </dx:ASPxLabel>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="fila" align="center">
                                        <dx:ASPxButton ID="btn_CancelarGrabar" runat="server" Text="Cancelar" AutoPostBack="false"
                                            CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass"
                                            SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                                            <ClientSideEvents Click="function(s, e){pcMensaje.Hide();}" />
                                        </dx:ASPxButton>
                                    </td>
                                    <td align="center" class="fila">
                                        <dx:ASPxButton ID="btn_AceptarGrabar" runat="server" AutoPostBack="False" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                            CssPostfix="BlackGlass" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                            Text="Aceptar">
                                            <ClientSideEvents Click="function(s, e){pcMensaje.Hide();}" />
                                        </dx:ASPxButton>
                                    </td>
                                </tr>
                            </table>
                        </dx:PopupControlContentControl>
                    </ContentCollection>
                </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="pcMensaje" runat="server" Width="400px" ClientInstanceName="pcMensaje"
                    AllowResize="false" AllowDragging="false" PopupVerticalAlign="WindowCenter" PopupHorizontalAlign="WindowCenter"
                    Modal="true" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" ShowCloseButton="false"
                    CloseAction="None" CssPostfix="BlackGlass" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                    <LoadingPanelImage Url="~/App_Themes/BlackGlass/Web/Loading.gif">
                    </LoadingPanelImage>
                    <ContentStyle HorizontalAlign="Left" VerticalAlign="Top">
                    </ContentStyle>
                    <HeaderStyle>
                        <Paddings PaddingBottom="6px" PaddingLeft="15px" PaddingRight="6px" PaddingTop="3px" />
                    </HeaderStyle>
                    <ContentCollection>
                        <dx:PopupControlContentControl>
                            <table width="100%">
                                <tr>
                                    <td class="fila" align="center">
                                        <dx:ASPxLabel ID="lblMensaje" runat="server" CssClass="centrar">
                                        </dx:ASPxLabel>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="fila" align="center">
                                        <dx:ASPxButton ID="btnAceptar" runat="server" Text="Aceptar" AutoPostBack="false"
                                            CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass"
                                            SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                                            <ClientSideEvents Click="function(s, e){pcMensaje.Hide();}" />
                                        </dx:ASPxButton>
                                    </td>
                                </tr>
                            </table>
                        </dx:PopupControlContentControl>
                    </ContentCollection>
                </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="pcMensajeRetorno" runat="server" 
                    ClientInstanceName="pcMensajeRetorno" CloseAction="None" 
                    CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
                    Modal="True" PopupHorizontalAlign="WindowCenter" 
                    PopupVerticalAlign="WindowCenter" ShowCloseButton="False" 
                    SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css" Width="400px">
                    <LoadingPanelImage Url="~/App_Themes/BlackGlass/Web/Loading.gif">
                    </LoadingPanelImage>
                    <ContentStyle HorizontalAlign="Left" VerticalAlign="Top">
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="6px" PaddingLeft="15px" PaddingRight="6px" 
                        PaddingTop="3px" />
                    </HeaderStyle>
                    <ContentCollection>
                        <dx:PopupControlContentControl runat="server" SupportsDisabledAttribute="True">
                            <table width="100%">
                                <tr>
                                    <td align="center" class="fila">
                                        <dx:ASPxLabel ID="lblMensaje0" runat="server" CssClass="centrar">
                                        </dx:ASPxLabel>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" class="fila">
                                        <dx:ASPxButton ID="btnAceptar0" runat="server" AutoPostBack="False" 
                                            CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css" CssPostfix="BlackGlass" 
                                            OnClick="btnAceptar0_Click1" 
                                            SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css" Text="Aceptar">
                                            <ClientSideEvents Click="function(s, e){pcMensajeRetorno.Hide();}" />
                                        </dx:ASPxButton>
                                    </td>
                                </tr>
                            </table>
                        </dx:PopupControlContentControl>
                    </ContentCollection>
                </dx:ASPxPopupControl>
                <dx:ASPxPopupControl ID="pcAgregarDetallePrelegajo" runat="server" Width="502px"
                    ClientInstanceName="pcAsigAbog" AllowResize="false" PopupVerticalAlign="WindowCenter"
                    PopupHorizontalAlign="WindowCenter" Modal="true" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                    CssPostfix="BlackGlass" ShowCloseButton="true" CloseAction="None" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                    HeaderText="Detalle de Informes">
                    <LoadingPanelImage Url="~/App_Themes/BlackGlass/Web/Loading.gif">
                    </LoadingPanelImage>
                    <ContentStyle HorizontalAlign="Left" VerticalAlign="Top">
                    </ContentStyle>
                    <HeaderStyle>
                        <Paddings PaddingBottom="6px" PaddingLeft="15px" PaddingRight="6px" PaddingTop="3px" />
                    </HeaderStyle>
                    <ContentCollection>
                        <dx:PopupControlContentControl>
                            <table width="100%">
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        Nombre del Archivo :&nbsp;
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txt_Nombrearchivo" runat="server" Width="283px"></asp:TextBox>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        Fecha :
                                    </td>
                                    <td>
                                        <dx:ASPxDateEdit ID="date_fechaRecep" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                            CssPostfix="BlackGlass" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css">
                                            <CalendarProperties>
                                                <HeaderStyle Spacing="1px" />
                                                <FooterStyle Spacing="4px" />
                                            </CalendarProperties>
                                            <ButtonStyle Width="11px">
                                            </ButtonStyle>
                                            <ValidationSettings>
                                                <ErrorFrameStyle ImageSpacing="4px">
                                                    <ErrorTextPaddings PaddingLeft="4px" />
                                                </ErrorFrameStyle>
                                            </ValidationSettings>
                                        </dx:ASPxDateEdit>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                    <td align="left" class="filas">
                                        <dx:ASPxUploadControl ID="Upload_cargar_archivo" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                            CssPostfix="BlackGlass" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                            Width="280px" OnFileUploadComplete="Upload_cargar_archivo_FileUploadComplete">
                                            <ValidationSettings MaxFileSize="4194304" MultiSelectionErrorText="Attention! 

The following {0} files are invalid because they exceed the allowed file size ({1}) or their extensions are not allowed. These files have been removed from selection, so they will not be uploaded. 

{2}" AllowedFileExtensions=".pdf" NotAllowedFileExtensionErrorText="Esta extensión de archivo no está permitida">
                                            </ValidationSettings>
                                        </dx:ASPxUploadControl>
                                        <%--<dx:ASPxUploadControl ID="ucCargarExcel" runat="server" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue"
                                                    OnFileUploadComplete="ucCargarExcel_FileUploadComplete1" Width="280px" SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                                                <ValidationSettings FileDoesNotExistErrorText="La archivo a cargar no existe" GeneralErrorText="La carga del archivo falla debido a un error externo que no está relacionado con la funcionalidad del control."
                                                    MaxFileSizeErrorText="El tamaño del archivo excede el tamaño máximo permitido, que es {0} bytes"
                                                    MultiSelectionErrorText="Attention! 

The following {0} files are invalid because they exceed the allowed file size ({1}) or their extensions are not allowed. These files have been removed from selection, so they will not be uploaded. 

{2}" NotAllowedContentTypeErrorText="Este tipo de contenido no está permitido" NotAllowedFileExtensionErrorText="Esta extensión de archivo no está permitida">
                                                </ValidationSettings>
                                            </dx:ASPxUploadControl>--%>
                                        <asp:Label runat="server" ID="lblmsj" ForeColor="Red"></asp:Label>
                                    </td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                            <table width="100%">
                                <tr>
                                    <td>
                                        <dx:ASPxButton ID="btnAsigAbogCancelar" runat="server" AutoPostBack="False" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                            CssPostfix="BlackGlass" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                            Text="Cancelar" Width="100px">
                                            <ClientSideEvents Click="function(s, e){ pcAsigAbog.Hide(); }" />
                                        </dx:ASPxButton>
                                    </td>
                                    <td>
                                        <dx:ASPxButton ID="btnAsigAbogAsignar" runat="server" CssFilePath="~/App_Themes/BlackGlass/{0}/styles.css"
                                            CssPostfix="BlackGlass" OnClick="btnAsigAbogAsignar_Click" SpriteCssFilePath="~/App_Themes/BlackGlass/{0}/sprite.css"
                                            Text="Añadir item" Width="100px">
                                        </dx:ASPxButton>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <cc1:XafUpdatePanel ID="XafUpdatePanel1" runat="server">
                                            <asp:GridView ID="grv_DetallePrelegajo" runat="server" AutoGenerateColumns="False"
                                                CellPadding="4" ForeColor="#333333" GridLines="None" CssClass="gridview-distribuir-Lista-Actas"
                                                AllowPaging="True" DataKeyNames="item" OnSelectedIndexChanged="grv_DetallePrelegajo_SelectedIndexChanged">
                                                <PagerSettings Mode="NumericFirstLast" Position="TopAndBottom" />
                                                <RowStyle CssClass="grid-distribuir-rows-hover-impar" />
                                                <Columns>
                                                    <asp:BoundField HeaderText="Item" DataField="item" ItemStyle-CssClass="grid-distribuir-columna1">
                                                        <HeaderStyle CssClass="grid-distribuir-cabecera1" />
                                                        <ItemStyle CssClass="grid-distribuir-columna1"></ItemStyle>
                                                    </asp:BoundField>
                                                    <asp:BoundField HeaderText="Fecha de Recepción" DataField="fecha" ItemStyle-CssClass="grid-distribuir-columna2">
                                                        <HeaderStyle CssClass="grid-distribuir-cabecera2" />
                                                        <ItemStyle CssClass="grid-distribuir-columna2"></ItemStyle>
                                                    </asp:BoundField>
                                                    <asp:BoundField HeaderText="Nombre de Archivo" DataField="nombrearchivo" ItemStyle-CssClass="grid-distribuir-columna3">
                                                        <HeaderStyle CssClass="grid-distribuir-cabecera3" />
                                                        <ItemStyle CssClass="grid-distribuir-columna3"></ItemStyle>
                                                    </asp:BoundField>
                                                    <asp:BoundField HeaderText="Ruta de Archivo" DataField="rutaarchivo" ItemStyle-CssClass="grid-distribuir-columna3">
                                                        <HeaderStyle CssClass="grid-distribuir-cabecera3" />
                                                        <ItemStyle CssClass="grid-distribuir-columna3"></ItemStyle>
                                                    </asp:BoundField>
                                                    <asp:CommandField ShowSelectButton="True" SelectText="Ver">
                                                        <%--<ControlStyle CssClass="grid-distribuir-columna0"></ControlStyle>--%>
                                                        <HeaderStyle CssClass="grid-distribuir-cabecera0" />
                                                        <ItemStyle CssClass="grid-distribuir-columna0" ForeColor="Blue" />
                                                    </asp:CommandField>
                                                </Columns>
                                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                <PagerStyle HorizontalAlign="Center" CssClass="grid-distribuir-paginacion" />
                                                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                <EditRowStyle BackColor="#999999" />
                                                <AlternatingRowStyle CssClass="grid-distribuir-rows-hover-par" />
                                            </asp:GridView>
                                        </cc1:XafUpdatePanel>
                                    </td>
                                </tr>
                            </table>
                        </dx:PopupControlContentControl>
                    </ContentCollection>
                </dx:ASPxPopupControl>
            </dx:PanelContent>
        </PanelCollection>
    </dx:ASPxRoundPanel>
</asp:Content>
